﻿namespace ChinaUnicom.Schedule
{
    using System;

    public class ScheduleExceptionArgs : EventArgs
    {
        public Exception Exception { get; private set; }
        public ITask Task { get; private set; }

        public ScheduleExceptionArgs(ITask task, Exception ex)
        {
            Task = task;
            Exception = ex;
        }
    }
}
